package com.jingxi.sso.service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.jingxi.common.pojo.JingXiResult;
import com.jingxi.model.TbUser;

public interface UserService {
	JingXiResult checkData(String content, Integer type);

	JingXiResult createUser(TbUser user);

	JingXiResult userLogin(String username, String password, HttpServletRequest request, HttpServletResponse response);

	JingXiResult getUserByToken(String token);

	JingXiResult quitWithSafety(String token);
}
